#include "client.hpp"

int main(int argc, char *argv[])
{

    if (argc != 3)
    {
        std::cout << "Usage:\n\t" << argv[0] << " serverip\n"
                  << std::endl;
        exit(1);
    }

    unique_ptr<Udpclient> ptr = make_unique<Udpclient>(argv[1], stoi(argv[2]));
    ptr->init_start();
    return 0;
}